<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-04 16:53:56
 * @LastEditTime: 2022-08-26 14:59:55
 * @LastEditors: CHINAKAIYUAN
 * @Description: 
 */

namespace App\Http\Services\System;


use App\Http\Services\Service;
use App\Repositories\ConfigRepository;

class ConfigService extends Service
    {
    protected function setConfig()
        {
        return (new ConfigRepository)->autosave();
        }
    public function getConfig()
        {
        return (new ConfigRepository)->first();
        }
    }
